package com.example.tjydemo.domain;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;
import lombok.Data;

/**
 * (User)表实体类
 *
 * @author tjy
 * @since 2025-01-04 15:55:57
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
public class User{
    /**
    * 主键
    */    
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    
    /**
    * 姓名
    */    
    @TableField(value = "name")
    private String name;
    
    /**
    * 年龄
    */    
    @TableField(value = "age")
    private Integer age;
    
    /**
    * 性别
    */    
    @TableField(value = "sex")
    private String sex;
    
}
